how to assign and re-assign a license